package com.suke.czx.modules.tb.service;

import com.suke.czx.modules.tb.entity.TbMessage;

import com.baomidou.mybatisplus.extension.service.IService;
import com.suke.czx.modules.tb.entity.TbOrderInfo;
import com.suke.czx.modules.tb.vo.MessageHeadVO;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 用户消息私信表
 *
 * @author developer
 * @email developer@163.com
 * @date 2025-05-20 18:48:09
 */
public interface TbMessageService extends IService<TbMessage> {

    List<MessageHeadVO> getMessageHeadList(String userId, Map<String, Object> params);

    boolean sendOrderMessage(TbOrderInfo tbOrderInfo,String contentType);

    boolean setDeafultHeadMessage(Long productId, String userId, String userId1, Date date);
}
